import request from '@/utils/request'
/**
 * 分页代理人列表
 * @param pageNum
 * @param pageSize
 */
const getList = function(pageNum,pageSize) {
  return request({
    url: '/sysCustomer/list?pageNum='+pageNum+"&pageSize="+pageSize,
    method: 'get',
    data: {}
  })
}
/**
 * 获取询价列表
 * @param pageNum
 * @param pageSize
 */
const getQuotationList = function(customerId) {
  return request({
    url: '/sysQuotation/listByCustomerId?customerId='+customerId,
    method: 'get',
    data: {}
  })
}

export const customerApi = {
  getList: getList,
  getQuotationList:getQuotationList
}
